package com.tanhua.dubbo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.domain.BlackList;
import com.tanhua.domain.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface BlackListMapper extends BaseMapper<BlackList> {
    @Select("select * from tb_user tu,tb_black_list tbl where tbl.black_user_id = #{userId}")
    IPage<UserInfo> findLst(@Param("userId") Long userId, @Param("ipage") IPage<UserInfo> ipage);
}
